fix format in method