bugfix, editing non-toplevel content was broken