fix FunctionalDevice version bug