fixing _escaped_fragment_check in bad url