fix for small files