fix typeof typo