fix checkbox, add ratio button and inputbox