fixing for displaying maximumweight