fix some staff on structure New and Edit