css fixes and bug fixes