fix multiple submits of formdata
precompile assets