fix: addOrder function
fixing local build