fixed sim_lib issue