remove not used code.