new error max files limit && fix bugs