fix dict changing issue (dekrypt not working yet)