fixed file limit issues