fixed crypt entity