sm doc fixes