fix: get attribute error on none field