added transaction rollback if table does not exist..