Saving first page instead of second