fix sml/hidden-modes