fixing the issue with the id showing when random is pressed