Fixed bug with removing tracks