fix track stop crashing bug