started to fix the trailRenderer bug