fixed a bug on Linux #92