trying to fix the transition issue