bugfix with QueryDict