files bug fix