human friendly error message
bug fix, preventing &nbsp; from appearing as text