change incorrect comment
bug fix
remove some C99 dependence