set mode of output after manifest adding, as this will reset the mode