Annihilation of boundary singularities via suitable Green's functions