fix manifest call and add logging