cleaning, fixing FM and CM analyses