Check there is querystring present before assigning.
Improve page content, and stop users arriving directly.