fixed nullPointer in OrderSpecification