Prim graph type fix
Conflicting types fix