fixed logs and create