fixed graph firefox bug
merging my change