fix bug that cannot use cms plugins