fixed bug where spirit gem not being used.