fix format errpr