fix getOrder