fixes changeBg and changeCostume