processstats: removed unneccessary rsplit and replace calls