Fixing a bug in .parse