fix for session files