fix for transitions js