fixes for django-odnoklassniki-photos