fixed maxciph