fixed some bugs, changed css/html in some pages