Fixed keyword check