change path to hash