fix seg fault when collision incorrectly expected