fix mspanotify and kinkgen