bugfix when reading empty files again