moved to check BT version so everything is defined