fixed session issue on Repository Extensions