returning null instead of empty array for no meta found