Fixed the do_action() function to be executed.