only the solution works to widgets