The BF2+ beam can be contaminated by BF+, F+ and B+ beams with different energies due to the collisions between BF2+ and the remaining gas molecules in the system. It is unfavourable for shallow junction formation because the junction depth would be increased remarkably as shown by SIMS results. Three methods of removing or decreasing the contamination beams are presented.