Fixed type error message