fixed car looping bug