debug of oversim. for details, refer http://www.oversim.org/wiki