apply some technical adjustments