fixed print format errors