fixed syntax erorr only detected by gcc