Fixed some issues with validation and css in validation