fetchone return None if data is None