fixed bug related to alchemy session