Fix typo bug reported by Phil Daintree