fixed add_action argument errors