bug fix on location tree and mapper in data structure incompatible