native test(attribute only )& bug fix