fixed bug with hash_with_path