fixed bug: key['success'] error when schedule return

based on schedule return to judge if the schedule is success execute