resolving issue in widget