fixed widget grid bug