small fix in orifice code