removed get function from expandUrl