fixed implicit declaration warning