make some final adjustments