fixed issue of double displaying items