modify locate option