make main method not exit when frege main was not Integer/Bool