fix pr error messages