fix partial and complete url problems