fixed refresh adding blank lines if wholerow is used