removing logging statements, wrap_content option is functioning as intended