some deletions of remains of widget handler