fetchall corrected