fixed old version of c stuff