Remove unnecessary error handlings