Removed the newline character at the end of the uniqueID array, decreased array size to 5 and initialize last element with 0 after sprintf() call. (cherry picked from commit 7d1a357076)
7d1a357076