fixing widget overflow