Fixed check for once in notify