fixes image file path in graph controllers