add the possibility to edit the options of the components
better generator component