fix bug when no language displayed