fix ordering widgets