Fixed bug in ori clean script.