fixed the issue of coverpage coming up everytime