fixes locked files