fix error of ext