fixed a bug in select, checkboxes and radio button display