Fixed url buffer bug