fix simple graph storage bug