fix issue that listener is un-set for all oauth events