base url config
merge
clean
references fixed