fixed notify() (windows)