fixed sending notifications when not enabled