fixed c99 dependency