cleanup and markdown fixes