fixed error while adding sponsor id by agent