fix wrong edit field