bug fix remove file