If you have a gap between the tailgate end of your cover and the inside edge of your tailgate, you'll first want to make sure that your frame is positioned properly.
CLASSIC, PLATINUM, LIMITED HD Covers
LIMITED HDx Covers using spacer tool
If you are still experiencing a gap, your tailgate may not be flat and this can be determined by any straight edge tool, as shown in the photos below. If your tailgate is bowed out, you will have a slight gap in that area.