improve graphite error message
clean up graphite error message html parsing