remove stdbool
for c89 style