fix widget visibility