fixing bug during notification when user has no links