fixed missing string func