fix onEnable