Added method for correction format of URL