add prefix and suffix to locations