Removed useless '\0' check