Fixed small bug in parser