correct generation of manifest