fixing manifest and removing extra permissions