fixed manifest generation