fixed a bug preventing ignorecollisions() from working correctly