improve attr