fix widget layout