make some order depend on the popup