edit page (mostly) fixed up