fixes for location rendering