validation and css fixes