added getSubModel and getSubAttribute
fixed for setSelected call when nothing selected