return type control instead of tabpane