changing to attr instead of data-attr for wrap_content option