fixed url imput for PyQt4