#2152 dont pass undefined into parser