fetchall param fix