Fix clear generator
check if config file exist