initialise buf if wrong_info not used