fixed implicit decl error