fix notification index bug in server