use current url directly instead of guessing it
Merge pull request #1 from OlegYch/master

use current url directly instead of guessing it