bnf with action not working