fix a bug (include stdlib.h)