fixed issue so all switchport commands are removed