cipher fix