sm doc fix