VW New Beetle Convertible top

How do you fix the issue of the convertible top separating from the back rear window? The canvas top is pulling away from the back window and am afraid window will fall out.