fixed partially order bugs