add error trapping when sequence not exists