removeconstantfeatures cleanup