Fixed some c string overflows