Remove unnecessary try.
Fix attribute name.