fixing no string error crashing server