fixed db issue, began management commands