catch everything
fix location sql