tidy up manifest