fix issue with sml/hidden-modes