Fix ping and license checks