Solved error in onEnable