write to structure
correct page names