fix bug session + remove puts