added ir_initialized flag and str formatted