styling the HTMLs and fixing minor bugs in version 2.0