removed value string from function scope