Debug graph

fixed a bug which laid for larvae for more bugs which i squashed