fix a2lix upgrade issue and clean pagina entity