fix format errors