Change caculation of sink session mode