fixed bug #3,and fixed new guide callback