fix wait&notify