fix for checking notifying type