fix query url bug