remove useless exception management