Fix homeshick compatible problem