fixing widget overflow

Fixing widget overflow