reset partial lines to further save memory