bug fix

url length change taken into account