fix fade transition