Better bad location check