Bug fix: typo. Needs testing.