removed async call in get orders