fix no query string problem