Error fixed

Don't ask me what was happening, but this fixed an error with the notify handler!