Fix error empty item

http://forge.taotesting.com/issues/3277