fixed saving collision data