fixed incompatible c-syntax