remove unusable variable and not need code.