fixed and added sm features