rearranged error messages