fix missing defines