fix click on generator