Fixed double url parsing