Fix cipher formatting returning non-numerical values