Fix #10443 completely.

Signed-off-by: Kohei Takahashi <flast@flast.jp>