Effect of energy trapping on performance of QCM