replace rest of the id='%s' with id='%x'