edit page fixes