fix cover page generation