updated styles and fixed minor bugs