clean old code