modify process mode for fragment stack