use current url directly instead of guessing it