fix error when no matching locations could be found. redirect to 404 page