fixing validation errors and updating media queries