Change locationType from auto to hash