bug fix strncat