remove unneeded app permissions