fetchone and is none check