Fixed a bug (size of feature layer array)