delete useless references & from add_action