fix annoying optjit bug