modify manifest for remove unnecessary device