Fixed form resubmission bug for profile