fix indentation in shared.py