fixed file order when converting to html