minor correction in component generation