fix a bug in the taskpage with entering a new url.