fix slash in name bug, remove ?params in filename