free switches properly