calling the output setup in the inmemory mode. fixes #217