expand variables on the set phase
remove logging