fix url->filename problem