small fixes and formatting
error message