adapt addin to cmsmarket changes