fixed compile error on gcc
doc hint