replace ${}  by config