changing switches in collision instead of collision in world