Fixed some segfaults

Issues with strings