Fixed output of function for parse