Form content disappeared after receiving an error