fixed logging in problem and session path