modify error connections
refactor -- solve new object
refactor -- solve new object end