Fixed a bug in the recycler