Fix manifest generation