fixed cms bug