fix export orders hardcoded value in join