fix crash on identify with hidden attributes