fix errors related to reorders