fixes crypto_path variable undefined