fix LocationHash bug