fixing  form IDS and Variable to check whether it Has subsection or not