fix bug introduced by explicit parser declaration