remove unnecessary tries and catches