Fixed issue in locatr