fixing some bad url syntax