fix transition effect