fixed some string issues that gcc complained about