Fixed the url formatter and clean build option.