print out the correct id