added check for moonraySmartForm plugin