allow to switch bak and forth between v5 and 6