added workaround opt.h