fixes for independant graphite lib