only do this if we are using oooj-style tasks after this analysis otherwise it crashes