Some problems and solutions in the minicyclotron mass spectrometer (SMCAMS)