temporary fix for session problems