fetchone() fix