small fix to do not have problem with the current session while installing the database