fix indentation and base db