fix urls and formatting