Why does my form suddenly stop working?