flash moves when submit, refactoring of therapist