Fixed NPE in onEnable0