Fix max_width (issue #7)