Fixed NoSuchMethod error and crash at chunk unload