fixed some issues with auto adjustment total calculation