convert selector variables to CONST style