errors are handeled and wierd compile error fixed, also values view update when edit view is poped