added spec
fixed label problem with graphs