remove C99'ism