I'm not sure but I think I fixed it. was getting some string/string pointer mixups.