fix some programes when changed scenes