minor changes to the abstract widget