add empty parameter checking in OCAccountManager