small CAS fix