when lang session expire there will be no language loaded. Therefore, adding condition for this case