bugfix on Edit page