fix open ordering logic issue
fix open ordering logic issue