tidy up sync output