removed obsolete line
fixed invalid column name
slightly more informative output