minor changes

set $url variable to empty string for easier implementation,