after dragging a custom gate, proteins that are already used are removed