Fixed compilation errors in multiple parsing function and adjusted datatypes accordingly