bugfix in notification controller rendering