eliminate unnecessary execution of str2data when argument is supplied duplicated