fixed definition for parse