bugfix people function could not be saved