Fixed issue with RunWrite not scanning the result into a pointer