fix for graphics reload error