fixed bug if count of embed fields greater than collection count