cache: some functiones cleaned