Registered the event for block protection which i forgot to do earlier