if restart, change the class of  loaded cf