removing collision variable