bugfix in fade_c