fix `remove_widget`