fixing widget layout