fix fade in/out lag