fix adding widget to the side