Fixed bug by removing const ref in TStr arguments