Fix url parsing if no t param