got rid of the var_path static middleware, as per brian and mike talk.