fixed typo found by James