fix issue with saving input selection