prevent url fragment being included as part of the form variables