improve the notify system.