orders api fixes for new install