fixed two compiler warnings in the parser