Improvements for attributes converting