Fix crash issue. Update to V4.0.