Fix track url adding bug