fixed bug where images of diagram were not displayed