fix crypt