fix issue #475

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