fix to SM share bug