used unquote and decode to get recent input out of url parameter