graphite bug fix