fixing cypher