Correct type error