minor fix to manage.py