Dealt with exceptions when existing entries in er_items table, etc.