fixing genericreader warnings