better form redirect and correct an error in exporting all profiles