add condition to avoid useless message on ses$stat