bug fix file sync