fixed uncleared printing