fix bug about home key