add null check before registering api with nullable manager
return empty array list instead of null