Fixed some small mistake caused by format