fix and clean widget installer