remove unused, wiget related code