fix bug copying S