FIXED: typo, using $row instead of $rows