*fixed a multiple disposing bug with retrieved routine object; *fixed a bug with uncleared parsing context.