add grappelli compatibility