do some adjustment