remove unnecessary exceptions