Fixed form error rendering issue