Fixes typo resulting in fatal error