Fixed error while loading STDM plugin