fixes for parse exception to be checked