Fix onEnable bug
5.1.1 Release