fix bug session