Remove bugs from cmsApplication