Despite the great success on the mass spectra, the reputation of the bag model has been closely followed by the embarrassment from the center of mass motion. It leads to severe theoretical inconsistencies. For instance, the masses and the decay constants would no longer be independent of the momentum. In this work, we provide a systematical approach to resolve this problem. The meson decay constants as well as the baryon transition form factors can be computed consistently in our framework. Notably, the form factors in the neutron β decays do not depend on any free parameters, and are determined to bewhich is well consistent to the experimental value of (7.1 ± 1.7) × 10 −5 . These results show that our approach for the center of mass motion in the bag model is suitable for both light and heavy quark systems.