purchase order bug fixed