parser: fix input declarations