attempted fix for SQL error in reg_inst_notification