fix focus in edit view