fixed 'existing' tbl array problem