fixing output marking