fixed a bug in order sheet