Fix typo $them -> $then