set url the correct way