remove useless error catch