fixed Issue with collision correction