fixes return from edit-page check.