Remove the null byte at the end of the uri list