fix manifest problems