fixed a implicit declaration warning