conditional to fix contact test
only add a dump obj in when its present