prepare widgets