fix compatibility issue with django cms v3