fix #477

Signed-off-by: xiehuc <xiehuc@gmail.com>