Remove PM eventhandler