Found a bug with the parsing input. Fixed it