fix printing sequence for first termers