Fix missing call to add profile

* the bug was introduced when the return profile feature
  was added