fixed bug when entering incorrect encryption pw