fixed crypt patch