bug fixes and form error styling