fix for page edit