Fixed a bug that tripled the order