fix predeclaration