duplicate bug fix