fixed print rec