missing var in action function arguments