fixed the glass widget to the new module system