fix(accessor): remove undefined from return value