ironing out the pass encrypt bug