fixed autocomplete issue in layer admin