Fixed a type error.