fixed some layout and css issues