Fixes smaller problem with call to d2i