cleanup netwr commands