duplicate bug fixed