Fixing missing table attribute issue