optimize location display