fix bug in guide-key