run ap_invoke_handler when run handler manually