fixed cypher keyword detection