fix for c89