adjust some code place