Fixed Bug

Fixed the bug in the parser, is working now properly