fixing the overflow of container - 2nd try