fixed logs issue