Fixed graphin bug