Update cpt-events.php

Fixes