fix generator, fix assets dependencies