fix embedded images align and caption