exit if bad url