add support for math.h
quick terminate the loop