fixed compilation error before implementing new widgets