refis app url, only if undefined.