generator empty table and key value = nil