fix bug graph firefox