Fixed type error