trim white space in URL, if any
fix #107