fix graphite handler