tabs fix, form validation