regenerate when component is empty