bug fixed on linux platform