fixing the overflow of container