Fixed bug re out_prefix