order bug fix