fixed objects close bug when multiple levels