corrected ihm pb, added timestamp support for debug and error