corrected error in ideal url construction