fix bug when show ad