refactor appcast validation