remove code for unsupported feature autoLocate