fixes for graph and start of pic upload