fix disposed bug