Fixed a bug in list resource