Fix failing dofile call