Modify head and remove blank page