fix open of purchase order