fixed some strings not being null-terminated