widget count issue fix