fix for C99 mode