fixed unused warning in parser