reset attributes for parser