added an adaptation to edge the refinerycms version