integrate patch from a contributer
prepare dict to html