trying to fix the string bugs