Fix typo.
Bug fix, check for keyword before getting name