Fixed last type error