fixed problem with parser