save memory when parsing is done