fixing overlay width of the sample