bugfix in afilereader