fixed case issue with block offensive words function