fixed duplicate bug thing