fixed bug in fading routine caused fading to do only one step