fixes the body state class for urls-with-params