fix format of error part