fixed projectile collision and moved around references