Don't overflow value width

fixes #387