fix paths in generator