Fix crypt