fix inner SM