small fixes for crypter