fix file repeat compress