fix for django 1.6.2 (get list instead of string)