fixed format of displayed error message