fix NOCAS issue