add '\0' to string end