Fixed bug at notify_server