fixed some issues in mapnotify and createnotify