bugfixes for manifests