fix format printing