Disabling exceptions when weblibrary rendered twice