added validator to base widget