fixed issue where the output session was not correctly labeled