Fix homeshick compatible issue