fixed PrintRow bug