minor fixes for unique redirect code and markdown crap