fixed undeclared type.