fixed issues with curse keyword mismatches.