fixes to location bounds