Fixed case in error type