on duplicate bug fix