template and css small fixes