need to fix crypt