clean up lmfeature flags