remove inactive code