removed some flags from sim_util.c