fixed graph reference error in profilewindow