replace span labels