fix bug under windows

Signed-off-by: dannygod <dannygodii@gmail.com>