fixed getting last N blanks. #288