Fix import function

Fix session