Fix for graphFrame to work