print out correct ids