fixed handling BNF 'Empty' type