Do not append (null) at the end of the url.