bug fix in sink