ibft: fixed to read variables earlier