fixed problem when changes active layer and geocoding post