minor correction at Exception handling