Modified td_options to repair a problem with class options in tds