fix implicit declaration