initWithDictionary, also fix a typo