fixup the format and image links
fix formatting