stupid bug in manage.py