Fix active file