I think I fixed the weirdness with the size of container