fix URL construction when passing params by hash and hash exists in frame URL