preventing pageLoad cbs being called twice