temporary fix to location text bug