fix varibale domain issue